<br /><br />
<script>var js_url="<?php echo $base_url?>";</script>
<script type="text/javascript" src="<?php echo $base_url;?>style/js/BE/admin_company.js"></script>
<script type="text/javascript" src="<?php echo $base_url;?>style/ckeditor/ckeditor.js"></script>
<form name="trueform2" id="trueform2" method="POST" action="<?php echo $base_url;?>admin_company/edit" onSubmit="return submitPost_jQuery();" enctype="multipart/form-data">
<input type="hidden" name="isPost" value="1">
<table width="80%" border="0" cellspacing="1" cellpadding="0" align="center" style="margin:auto; background-color:#3D84CC;">
  <tr>
    <td colspan="2" align="left" bgcolor="#3D84CC" class="title3">&nbsp;Cập nhật <?php echo $page_title;?></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#FFFFFF" class="title2"><span class="star">*</span>&nbsp;Tên doanh nghiệp:</td>
    <td align="left" bgcolor="#FFFFFF" class="title2">
		<input type="text" name="txt_name" id="txt_name" class="text2" style="width:650px;" value="<?php echo $company_detail[0]->company_adv_name;?>" />     
    </td>
  </tr>
  <tr>
    <td align="right" bgcolor="#FFFFFF" class="title2">&nbsp;&nbsp;&nbsp;Chọn hình:</td>
    <td align="left" bgcolor="#FFFFFF" class="text3">
    		<?php
					if ($company_detail[0]->img_thumb != "")
					{
				?>
        &nbsp;&nbsp;Hình đã chọn:
    		<a target="_new" href="<?php echo $base_url;?>style/<?php echo $company_detail[0]->img;?>" title="Click để xem hình lớn"><img src="<?php echo $base_url;?>style/<?php echo $company_detail[0]->img_thumb;?>" border="0"/></a>
        &nbsp;&nbsp;==> Chọn hình khác:
        <?php 
					}
				?>
				&nbsp;&nbsp;<input type="file" class="txt_FileUpload" name="image1" id="image1" />
    </td>
  </tr>   
  <tr id="tr_noi_dung_chi_tiet">
    <td align="right" bgcolor="#FFFFFF" class="title2"><span class="star">*</span>&nbsp;URL:</td>
    <td align="left" bgcolor="#FFFFFF" class="title2">
    <input type="text" name="txt_url" id="txt_url" class="text2" style="width:650px;" value="<?php echo $company_detail[0]->url;?>" />
    </td>
  </tr>  
  <tr>
    <td align="right" bgcolor="#FFFFFF" class="title2"><span class="star">*</span>&nbsp;Trạng thái:</td>
    <td align="left" bgcolor="#FFFFFF" class="title2">
	  	<select name="cbo_Status" id="cbo_Status">
      	<option value="">-- Chọn --</option>
      	<option value="1" <?php if ($company_detail[0]->status=="1"){echo "selected=\"selected\"";}?>>Hiển thị</option>
        <option value="0" <?php if ($company_detail[0]->status=="0"){echo "selected=\"selected\"";}?>>Không hiển thị</option>
      </select>    
    </td>
  </tr>        
  <tr>
    <td colspan="2" style="text-align:center;" bgcolor="#FFFFFF" height="30px">
		<input type="hidden" name="h_id" id="h_id" value="<?php echo $id;?>" />
		<input type="submit" name="btn_Save" id="btn_Save" value="Lưu" style="width:70px;" class="button" />&nbsp;
		<input type="button" name="btn_GoBack" id="btn_GoBack" value="Quay lại" style="width:70px;" class="button" onclick="history.go(-1); return false;" />
	</td>
  </tr>
</table>
</form>